package com.joe.demo.chat.message;

import lombok.Data;
import lombok.ToString;

import java.util.Set;

/**
 * @Description
 * @Author gaojw
 * @Date 2024-08-30
 */
@Data
@ToString(callSuper = true)
public class GroupCreateRequestMessage extends Message {

    private String groupName;
    private Set<String> memberSet;

    public GroupCreateRequestMessage() {
    }

    public GroupCreateRequestMessage(String groupName, Set<String> memberSet) {
        this.groupName = groupName;
        this.memberSet = memberSet;
    }


    @Override
    public int getMessageType() {
        return GroupCreateRequestMessage;
    }
}
